<admintpl file="headerEx" />
<title>上传设置</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
<style>
	.help-block{
		padding-left: 5%;
	}
	.sr-only{
		width: 30px;
	}
</style>
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li class="active" >
									<a  href="{:U('setting/upload')}">
										<i class="fa fa-list-ul"></i> 上传设置
									</a>
								</li>
							</ul>
						</header>
						<div class="panel-body">
							<section class="panel">
								<div class="panel-body">
									<form class="form-inline" role="form" method="post" action="{:U('setting/upload_post')}">
										<section class="panel">
											<div class="form-group">
												<label class="sr-only" for="image"  style="position: initial;display: inline;">图片文件：</label>
												<input type="text" name="image[upload_max_filesize]"  id="image" class="form-control"  title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="{$image.upload_max_filesize|default=10240}">
											</div>
											<div class="form-group">
												<input type="text" name="image[extensions]"  class="form-control"  title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$image.extensions|default='jpg,jpeg,png,gif,bmp'}">
											</div>
											<span class="form-required">*</span>
											<span class="help-block"  >允许上传大小默认为10240KB,1M=1024KB，允许上传格式默认为jpg,jpeg,png,gif,bmp</span>
										</section>

										<section class="panel">
											<div class="form-group">
												<label class="sr-only" for="video"  style="position: initial;display: inline;">视频文件：</label>

												<input type="text" name="video[upload_max_filesize]"  id="video" class="form-control"  title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="{$video.upload_max_filesize|default=10240}">

											</div>
											<div class="form-group">
												<input type="text" name="video[extensions]"  class="form-control"  title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$video.extensions|default='mp4,avi,wmv,rm,rmvb,mkv'}">
											</div>
											<span class="form-required">*</span>
											<span class="help-block" >允许上传大小默认为102400KB,1M=1024KB，允许上传格式默认为mp4,avi,wmv,rm,rmvb,mkv</span>
										</section>

										<section class="panel">
											<div class="form-group">
												<label class="sr-only" for="audio"  style="position: initial;display: inline;">音频文件：</label>
												<input type="text" name="audio[upload_max_filesize]" id="audio" class="form-control"  title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="{$audio.upload_max_filesize|default=10240}">
											</div>
											<div class="form-group">
												<input type="text" name="audio[extensions]" class="form-control"  title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$audio.extensions|default='mp3,wma,wav'}">
											</div>
											<span class="form-required">*</span>
											<span class="help-block">允许上传大小默认为10240KB,1M=1024KB，允许上传格式默认为mp3,wma,wav</span>
										</section>

										<section class="panel">
											<div class="form-group">
												<label class="sr-only" for="file"  style="position: initial;display: inline;">附&nbsp;&nbsp;件：</label>
												<input type="text" name="file[upload_max_filesize]"  id="file" class="form-control"  title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="{$file.upload_max_filesize|default=10240}">
											</div>
											<div class="form-group">
												<input type="text" name="file[extensions]" class="form-control" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file.extensions|default='txt,pdf,doc,docx,xls,xlsx,ppt,pptx,zip,rar'}">
											</div>
											<span class="form-required">*</span>
											<span class="help-block">允许上传大小默认为10240KB,1M=1024KB，允许上传格式默认为除以上文档类型以外的其它常用文件,如：txt,pdf,doc,docx,xls,xlsx,ppt,pptx,zip,rar</span>
										</section>
										<div class="form-actions" style="padding-left: 6%;">
											<button type="submit" class="btn btn-primary js-ajax-submit">{:L('SAVE')}</button>
										</div>
									</form>

								</div>
							</section>

						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>

<!--common scripts for all pages-->
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>

</body>
</html>